package promote.brozen.base.io.nio;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;

/**
 * @author Brozen
 * @date 2020/10/9 9:00 AM
 * @email brozen@qq.com
 */
public class RAFRead {

    public static void main(String[] args) throws IOException {
        RandomAccessFile raf = new RandomAccessFile("/data/logs/error.log", "r");
        System.out.println(raf.readChar());
    }

}
